
:root{
    --background: #ECECEC;
    --fontcolor: #330000;
}
html{
    scroll-behavior: smooth;
}
body{
    
font-family: 'Roboto', sans-serif;

    padding: 0;
    margin: 0;
    background: var(--background);
    color: var(--fontcolor);
}
.header{
    /* font-family: "Bauhaus 93"; */
    font-weight: 500;
    text-align: justify;
    font-size: 50px;  
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    background-color: var(--background);
    position: fixed;
    top: 0;
    border-bottom-style: solid;
    border-color: black;
    z-index: 20;
}
.titleAPic{
    display: flex;
    flex-direction: row;
}

.title{
    color: var(--fontcolor);
    margin-top: 46px;
}

.Initialen{
    float: left;
    height: 150px;
    margin-right:15px;
    /* margin-top: 25px; */
    /* margin-left: 10px; */
    display: block;
}
.main{
    padding-top: 8.6rem;
}
.kontakt{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-right: 2px;
    font-size: 23px;
    padding-top: 8.6rem;
    margin-left: auto;
    margin-right: auto;
}


.nav ul li{
    float:right;
}

.nav ul li a{
    display: block;
    color: var(--fontcolor);
    text-align: center;
    padding: 64px 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
}

.nav ul{
    
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--background);
}

.on ul li{
    float:right;
}

.on ul li a{
    display: block;
    color: var(--fontcolor);
    text-align: center;
    padding: 54px 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
}

.on ul{
    display: flex;
    flex-direction: column-reverse;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--background);
}

li a:hover {
    background-color: #D0D0D0;
}


.heizver-pics{
display: flex;
flex-direction: row;
margin-right: auto;
margin-left: auto;
padding: 2rem;
}

.pexverteilung-pics{
    display: flex;
    flex-direction: row;
    margin-right: auto;
    margin-left: auto;
    padding: 2rem;
    padding-top: 5rem;
}

.ablaufsysteme-pics{
    display: flex;
    flex-direction: row;
    margin-right: auto;
    margin-left: auto;
    padding: 2rem;
    padding-top: 5rem;
}

.groupNeubau{
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}

.Neubau{
    margin-top: 1rem;
    height: 300px;
}

.Altbau{
    margin-top: 1rem;
    height: 300px;
}

.groupAltbau{
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
}

.text-leck{
    text-align: center;
}

.Leckortung{
    display: flex;
    flex-direction: column;
    padding-left: 27px;
    padding-right: 27px;
    font-size: 23px;
    padding-top: 8.6rem;
}
.Techniken{
    display: flex;
    flex-direction: column;
    padding-left: 27px;
    padding-right: 27px;
    font-size: 23px;
    padding-top: 8.6rem;
}

.thermographie{
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
}

.technikText{
    font-size: 28px;
}

.thermoPic{
    margin-bottom: 2rem;
    height: 450px;
    object-fit: contain;
}

.endoskopie{
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
}

.endoPics{
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
}

.endoPic1{
    height: 300px;
    margin-right: 1rem;
}

.endoPic2{
    height: 300px;
    margin-left: 1rem;
}

.feuchtigkeits{
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
}

.feuchtigkeitPic{
    margin-bottom: 2rem;
    height: 450px;
    object-fit: contain;
}

.langzeitPic{
    margin-bottom: 2rem;
    height: 380px;
    object-fit: contain;
}

.leckPics{
    margin-bottom: 8rem;
}

.leckPic1{
    height: 300px;
    margin-right: 1rem;
}

.leckPic2{
    height: 300px;
    margin-left: 1rem;
}

.farbenPics{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 3rem;
}

.technikTexta{
    font-size: 28px;
    margin-top: 8rem;
}

.akustikPic{
    height: 650px;
    margin-bottom: 2rem;
}

.description{
    margin-bottom: 8rem;
}

.auto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.knowHow p{
    font-size: 24px;
}

.knowHow{
    margin-right: auto;
    margin-left: auto;
}

.hand{
    margin-top: 4rem;
    text-align: center;
}

.autoPic{
    height: 550px;
    margin-bottom: 14rem;
    margin-top: 4rem;
    object-fit: contain;
    margin-right: auto;
    margin-left: auto;
}

.overlap{
    padding: 16em;
    background-color: var(--background);
    opacity: 60%;
    border-radius: 600px 350px 0 0;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    z-index: 10;
    top: 75%;
    left: 19%;
    
}

.undichtheit{  
    margin-left: auto;
    margin-right: auto;
}

.undichtheitText{
    font-size: 28px;
}

.undichtPics{
    display: flex;
    flex-direction: column;
    
}
.undicht1{
    height: 650px;
    object-fit: contain;
    margin-bottom: 4rem;
}
.undicht2{
    height: 360px;
    object-fit: contain;
    margin-bottom: 4rem;
}
.undicht3{
    height: 360px;
    object-fit: contain;
    margin-bottom: 4rem;
}

h1{
    font-size: 28px;
    color: red;
}

.footer{
    background-color: var(--fontcolor);
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.bars{
    display: none;
}

.footerKontakt{
    font-size: 1.5rem;
}
@media screen and (max-width:  1520px) {
    .Initialen{
        height: 50px;
        margin-top: 12px;
    }

    .title{
        display: none;
    }

    .header{
        flex-direction: column;
    }

    .nav{
        display: none;
    }

    .on ul li{
        float: none;
    }

    .on ul li a{
        text-align: center;
        color: var(--fontcolor);
        text-decoration: none;
        display: block;
        font-size: 24px;
        padding-right: auto;
        padding-left: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .on ul{
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background-color: var(--background);
    }

    .bars{
        display: block;
        color: red;
        margin-left: auto;
        margin-right: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.2rem;
    }

    .bars:hover{
        cursor: pointer;
    }

    .main{
        padding-top: 8rem;
        margin-left: auto;
        margin-right: auto;
    }

    .overlap{
        display: none;

    }

    .autoPic{
        height: auto;
        width: 380px;
        margin-bottom: 4rem;
        margin-left: 0.25rem;
    }

    .kontakt{
        padding-top: 8rem;
        text-align: left;
        padding-left: 27px;
    }

    .knowHow{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .Leckortung{
        padding-top: 8rem;
    }

    .heizver-pics{
        flex-direction: column;
    }

    .pexverteilung-pics{
        flex-direction: column;
    }

    .ablaufsysteme-pics{
        flex-direction: column;
    }

    .groupNeubau{
        margin-right: 0;
    }

    .groupAltbau{
        margin-left: 0;
        margin-top: 3rem;
    }

    .Techniken{
        padding-top: 8rem;
    }

    .thermoPic{
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .endoPics{
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }

    .endoPic1{
        margin-right: 0;
        height: auto;
        width: 300px;
    }

    .endoPic2{
        margin-left: 0;
        margin-top: 2rem;
        height: auto;
        width: 300px;
    }

    .feuchtigkeitPic{
        height: auto;
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .langzeitPic{
        height: auto;
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .leckPic1{
        margin-right: 0;
        height: auto;
        width: 300px;
    }

    .leckPic2{
        margin-top: 2rem;
        margin-left: 0;
        height: auto;
        width: 300px;
    }

    .leckPics{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }

    .farbenPics{
        flex-direction: column;
    }

    .akustikPic{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        width: 300px;
    }

    .undicht1{
        height: auto;
        width: 300px;
    }

    .undicht2{
        height: auto;
        width: 300px;
    }

    .undicht3{
        height: auto;
        width: 300px;
    }

    .undichtPics{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer{
        width: 100%;
    }

    .Neubau{
        height: auto;
        width: 300px;
    }

    .Altbau{
        height: auto;
        width: 300px;
    }
        
    .endoskopie{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }
    
    .farbenPics{
        margin-left: auto;
        margin-right: auto;
    }

}